//
//  FDFourTableViewCell.m
//  Fragrance
//
//  Created by yinzhongyuan on 15/5/26.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "FDFourTableViewCell.h"

@implementation FDFourTableViewCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self createMyView];
    }
    return self;
}


- (void)createMyView
{
    self.tipsLabel = [[[UILabel alloc] init] autorelease];
    [self.contentView addSubview:self.tipsLabel];
    
    self.tipsLabelD = [[[UILabel alloc] init] autorelease];
    [self.contentView addSubview:self.tipsLabelD];
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    self.tipsLabelD.frame = CGRectMake(0, 0, 80, 30);
    self.tipsLabelD.backgroundColor = [UIColor clearColor];
    self.tipsLabelD.textColor = [UIColor orangeColor];
    self.tipsLabelD.font = [UIFont systemFontOfSize:15.0];
    
    self.tipsLabel.frame = CGRectMake(0, 30, self.frame.size.width, 50);
    self.tipsLabel.textColor = [UIColor blackColor];
    self.tipsLabel.font = [UIFont systemFontOfSize:13.0];
    self.tipsLabel.backgroundColor = [UIColor clearColor];
    self.tipsLabel.numberOfLines = 100;
    [self.tipsLabel sizeToFit];
}





















- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
